# $Id$
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: James Rayner <james@archlinux.org>
# Contributor: lucke <lucke at o2 dot pl>

pkgname=basket
pkgver=1.81
pkgrel=7
pkgdesc="All-purpose notes taker for KDE."
arch=('i686' 'x86_64')
url="http://basket.kde.org/"
depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme' 'kdebase-runtime')
makedepends=('cmake' 'automoc4')
license=('GPL')
source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2)
sha1sums=('209d92048523f341259d79510fa56977690e5dfc')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  cmake ../${pkgbase}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_INSTALL_PREFIX=/usr

  make
}

package() {
  cd $srcdir/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
